﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Administration/Main.Master" AutoEventWireup="true"
	CodeBehind="List.aspx.cs" Inherits="FSViet.Survey.Administration.Campaign.List" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div><asp:HyperLink ID="NewButton" runat="server" NavigateUrl="~/Administration/Campaign/Details.aspx">Create new campaign</asp:HyperLink></div>
<div><asp:Label ID="msg" runat="server" /></div>
<div><asp:GridView ID="ListItem" runat="server" AutoGenerateColumns="False">
	<Columns>
		<asp:HyperLinkField DataNavigateUrlFields="Id" DataNavigateUrlFormatString="../Question/List.aspx?CampaignId={0:N}&IsAnswerGroup=false"
			HeaderText="Question" Text="Show" />
		<asp:HyperLinkField DataNavigateUrlFields="Id" DataNavigateUrlFormatString="../Question/List.aspx?CampaignId={0:N}&IsAnswerGroup=True"
			HeaderText="Answer Group" Text="Show" />
		<asp:HyperLinkField DataNavigateUrlFields="Id" DataNavigateUrlFormatString="../Group/List.aspx?CampaignId={0:N}"
			HeaderText="Group" Text="Show" />
		<asp:HyperLinkField DataNavigateUrlFields="Id" 
			DataNavigateUrlFormatString="Details.aspx?Id={0}" DataTextField="Name" 
			HeaderText="Name" />
	</Columns>
</asp:GridView>
</div>
<div class="pages"><asp:Panel id="PageList" runat="server"/></div>
</asp:Content>
